//
//  BLEControllerDelegate.h
//  BLEManager
//
//  Created by 虎子哥 on 13-10-30.
//  Copyright (c) 2013年 虎子哥. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BLEPeripheral.h"

/**
 *  BLE代理
 */
@protocol BLEControllerDelegate<NSObject>

@optional

/**
 *  状态改变
 */
-(void)bleStateChanged:(NSInteger)state;

/**
 *  已连接
 */
-(void)bleConnected;

/**
 *  断开连接
 */
-(void)bleDisconnected;

/**
 *  收到数据
 *
 *  @param data 数据
 */
-(void)bleReceivedData:(NSData*)data;

/**
 *  外设信号强度变化
 */
-(void)blePeripheralRSSIChange:(BLEPeripheral *)peripheral;

@end
